'''
Date: 2023-09-18 14:06:15
LastEditors: ifredom ifredomvip@gmail.com
LastEditTime: 2023-09-18 14:15:04
FilePath: \modelscope-main\app.py
'''

import argparse
import sys


class Application:
    def init():
        print("Starting")


if __name__ == "__main__":
    parser = argparse.ArgumentParser("test argparse.ArgumentParser")
    parser.add_argument('--workers', type=int, default=4)
    opt = parser.parse_args()

    print(f'{opt.workers}')

    app = Application()
    app.init()
